var mainApp = angular.module('mainApp', ['ngRoute']);
mainApp.config(function($routeProvider){
  $routeProvider.when('/', {
    controller: 'IndexController',
    templateUrl: 'xueyashuju.html'
  })
})